﻿using System;
using System.Data;
using BLL;
using Utils;
namespace UI.ModSalary
{
    public partial class EmpItemBankNo : System.Web.UI.Page
    {
        SalaryTableBiz salaryTableBiz = new SalaryTableBiz();
        protected void Page_Load(object sender, EventArgs e)
        {
            btnAdd.Attributes.Add("onclick", "javascript:ShowLink('/ModEmployee/BankAccountModi.aspx',800,550);");
            btnAddBatch.Attributes.Add("onclick", "javascript:ShowLink('/ModEmployee/BankAccountBatch.aspx',800,550);");
            if (!IsPostBack)
            {
                DataTable dt = new EmpItemBiz().GetNoLists();
                if (dt.Rows.Count > 0)
                {
                    lbAmount.Text = "共有：" + dt.Rows.Count + " 条记录";
                    gvList.DataSource = dt;
                    gvList.DataBind();
                }

            }

        }

      
    }
}